#include <strmif.h>
#include <comdef.h>
//#include <event.h>
#include <control.h>
#include <uuids.h>
#include "graphutil.hpp"
#include "cmdline.hpp"

class App
{
    App(const App&);
    App& operator=(const App&);
    
public:
    explicit App(HANDLE);
    int operator()(int, wchar_t*[]);
    
private:
    const HANDLE m_hQuit;
    CmdLine m_cmdline;    
    GraphUtil::IFilterGraphPtr m_pGraph;
        
    int CreateGraph();
    void DestroyGraph();
    int RunGraph();

};
